﻿using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations.Schema;

namespace TiendaMusicaWebV2.Models
{
    [Table("order")]
    public partial class Order
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        [Column("id")]
        public int OrderId { get; set; }
        [Column("username")] 
        public string Username { get; set; }

        
        public List<OrderDetail> OrderDetails { get; set; }
    }
}
